load("@rules_cc//cc:defs.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "boost.filesystem",
    srcs = glob([
        "src/**/*.hpp",
        "src/**/*.cpp",
    ]),
    hdrs = glob([
        "include/**/*.hpp",
    ]),
    defines = [
        "BOOST_ALL_NO_LIB",
        "BOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF",
    ],
    includes = ["include"],
    deps = [
        "@boost.assert",
        "@boost.atomic",
        "@boost.config",
        "@boost.container_hash",
        "@boost.core",
        "@boost.detail",
        "@boost.io",
        "@boost.iterator",
        "@boost.predef",
        "@boost.smart_ptr",
        "@boost.system",
        "@boost.throw_exception",
        "@boost.type_traits",
        "@boost.winapi",
    ],
)
